/**
 * @format
 */

import { AppRegistry } from 'react-native';
import App from './App';
import { name as appName } from './app.json';
import Geolocation from 'react-native-geolocation-service';

// 初始化地理位置模块
Geolocation.setRNConfiguration({
  skipPermissionRequests: false,
  authorizationLevel: 'whenInUse',
});

AppRegistry.registerComponent(appName, () => App);